import { Result } from 'antd';
import Icon from '@ant-design/icons';

function UnpublishedIcon() {
  return (
    <svg
      xmlns="http://www.w3.org/2000/svg"
      width="260"
      height="220"
      viewBox="0 0 260 220"
    >
      <g id="暂时无法预览" transform="translate(-573 -183)">
        <rect
          id="矩形_6"
          data-name="矩形 6"
          width="260"
          height="220"
          transform="translate(573 183)"
          fill="#f1abab"
          opacity="0"
        />
        <g id="组_29" data-name="组 29" transform="translate(573 195.62)">
          <g id="组_1" data-name="组 1" transform="translate(6.053 0)">
            <g id="路径-58" opacity="0.86">
              <path
                id="路径_1"
                data-name="路径 1"
                d="M592.292,148.205c-1.975-8.523-14.84-64.023,21.526-71.655s57.85,1.258,73.83-14.282,19.962-12.987,33.088-11.96,28.336-10.187,33.445-13.556,51.261-25.047,63.059,39.8c1.865,28.037,3.414,58.453-9.642,69.973s.241,21.867,9.642,23.014-4.4,20.837-26.111,29.431c-14.439,6.477-107.835,25.05-163.765,5.958C600.357,193.361,594.268,156.726,592.292,148.205Z"
                transform="translate(-588.481 -30.582)"
                fill="#d7e8ff"
              />
            </g>
            <g id="大雁" transform="translate(154.117 12.418)">
              <g id="路径" transform="translate(0 10.086)">
                <path
                  id="路径_2"
                  data-name="路径 2"
                  d="M656.943,45.757v-.024c-1.37-3.872-5.842-5.7-9.639-5.133,2.814-1.75,7.459-2.217,9.639.466v.024c2.18-2.659,6.849-2.217,9.642-.466-3.791-.537-8.266,1.281-9.642,5.133Z"
                  transform="translate(-647.304 -39.172)"
                  fill="#fff"
                />
              </g>
              <g
                id="路径-2"
                data-name="路径"
                transform="translate(24.442 8.878)"
              >
                <path
                  id="路径_3"
                  data-name="路径 3"
                  d="M663.314,43.276v-.018c-.954-2.683-4.05-3.943-6.681-3.555,1.949-1.213,5.169-1.538,6.681.322v.016c1.512-1.842,4.747-1.535,6.681-.322-2.63-.372-5.727.888-6.681,3.558Z"
                  transform="translate(-656.633 -38.711)"
                  fill="#fff"
                />
              </g>
              <g id="路径-3" data-name="路径" transform="translate(15.482)">
                <path
                  id="路径_4"
                  data-name="路径 4"
                  d="M659.894,39.886V39.87c-.951-2.686-4.051-3.946-6.681-3.558,1.949-1.213,5.169-1.535,6.681.322v.018c1.512-1.844,4.748-1.538,6.684-.325-2.631-.372-5.728.891-6.684,3.558Z"
                  transform="translate(-653.213 -35.322)"
                  fill="#fff"
                />
              </g>
              <g
                id="路径-4"
                data-name="路径"
                transform="translate(44.695 11.814)"
              >
                <path
                  id="路径_5"
                  data-name="路径 5"
                  d="M669,42.993v-.01a4.237,4.237,0,0,0-4.632-2.465c1.352-.841,3.584-1.064,4.632.225v.01c1.048-1.279,3.291-1.066,4.632-.225A4.264,4.264,0,0,0,669,42.993Z"
                  transform="translate(-664.363 -39.831)"
                  fill="#fff"
                />
              </g>
            </g>
          </g>
          <g id="编组-8备份-3" transform="translate(28.327 20.993)">
            <g id="路径-8" transform="translate(0 0.006)">
              <path
                id="路径_6"
                data-name="路径 6"
                d="M597.143,45.66l12.3,9.695,45.1-16.6Z"
                transform="translate(-596.724 -38.34)"
                fill="#ebf3ff"
                fill-rule="evenodd"
              />
              <path
                id="路径_7"
                data-name="路径 7"
                d="M609.7,56.031a.426.426,0,0,1-.259-.089l-12.3-9.694a.419.419,0,0,1,.207-.747l57.395-6.9a.419.419,0,0,1,.2.81L609.845,56A.4.4,0,0,1,609.7,56.031Zm-11.245-9.817,11.319,8.924,41.517-15.28Z"
                transform="translate(-596.983 -38.597)"
                fill="#626e79"
              />
            </g>
            <g id="路径-9" transform="translate(18.96 0.003)">
              <path
                id="路径_8"
                data-name="路径 8"
                d="M604.379,60.719l38.436-21.963L627.369,78.208Z"
                transform="translate(-603.961 -38.337)"
                fill="#ebf3ff"
                fill-rule="evenodd"
              />
              <path
                id="路径_9"
                data-name="路径 9"
                d="M627.628,78.887a.438.438,0,0,1-.254-.086L604.383,61.312a.411.411,0,0,1-.163-.362.4.4,0,0,1,.21-.335l38.436-21.964a.421.421,0,0,1,.6.519L628.018,78.62a.417.417,0,0,1-.278.252A.4.4,0,0,1,627.628,78.887ZM605.395,61.026,627.442,77.8,642.25,39.969Z"
                transform="translate(-604.219 -38.596)"
                fill="#626e79"
              />
            </g>
            <g id="路径-10" transform="translate(12.299)">
              <path
                id="路径_10"
                data-name="路径 10"
                d="M601.836,55.355l.006,16.011,6.816-10.713,38.276-21.9Z"
                transform="translate(-601.419 -38.333)"
                fill="#ebf3ff"
                fill-rule="evenodd"
              />
              <path
                id="路径_11"
                data-name="路径 11"
                d="M602.1,72.046a.438.438,0,0,1-.118-.016.418.418,0,0,1-.3-.4l0-16.011a.42.42,0,0,1,.273-.393l45.1-16.6a.412.412,0,0,1,.526.217.422.422,0,0,1-.173.54l-38.19,21.846-6.76,10.624A.414.414,0,0,1,602.1,72.046Zm.414-16.139.005,14.282,6.042-9.5a.428.428,0,0,1,.147-.136l33.927-19.409Z"
                transform="translate(-601.677 -38.595)"
                fill="#626e79"
              />
            </g>
            <g id="路径-11" transform="translate(12.303 21.964)">
              <path
                id="路径_12"
                data-name="路径 12"
                d="M601.839,57.787l12.827-6.139-6.209-4.511Z"
                transform="translate(-601.42 -46.719)"
                fill="#ebf3ff"
                fill-rule="evenodd"
              />
              <path
                id="路径_13"
                data-name="路径 13"
                d="M602.1,58.464a.419.419,0,0,1-.356-.639l6.616-10.648a.421.421,0,0,1,.6-.121l6.21,4.512a.42.42,0,0,1-.066.718L602.28,58.425A.4.4,0,0,1,602.1,58.464ZM608.832,48l-5.623,9.047,10.9-5.214Z"
                transform="translate(-601.679 -46.978)"
                fill="#626e79"
              />
            </g>
          </g>
          <g id="组_4" data-name="组 4" transform="translate(38.354 184.908)">
            <g id="组_2" data-name="组 2" transform="translate(0 4.447)">
              <rect
                id="矩形_1"
                data-name="矩形 1"
                width="166.363"
                height="1.844"
                fill="#c9ccce"
              />
            </g>
            <g id="组_3" data-name="组 3" transform="translate(10.468)">
              <rect
                id="矩形_2"
                data-name="矩形 2"
                width="144.738"
                height="5.37"
                transform="translate(0.345 0.345)"
                fill="#4b6197"
              />
              <path
                id="路径_14"
                data-name="路径 14"
                d="M749.887,107.215H605.148a.344.344,0,0,1-.343-.343V101.5a.344.344,0,0,1,.343-.343H749.887a.343.343,0,0,1,.343.343v5.371A.343.343,0,0,1,749.887,107.215Zm-144.4-.686H749.546v-4.685H605.492Z"
                transform="translate(-604.805 -101.157)"
                fill="#626e79"
              />
            </g>
          </g>
          <g id="组_16" data-name="组 16" transform="translate(63.179 75.611)">
            <g id="组_5" data-name="组 5" transform="translate(9.401 0)">
              <path
                id="路径_15"
                data-name="路径 15"
                d="M634.59,168.821h73.646a9.984,9.984,0,0,0,9.985-9.985V69.587a9.984,9.984,0,0,0-9.985-9.985H634.59a9.984,9.984,0,0,0-9.985,9.985v55.545H614.033v43.689Z"
                transform="translate(-613.614 -59.18)"
                fill="#fff"
              />
              <path
                id="路径_16"
                data-name="路径 16"
                d="M708.5,169.5h-94.2a.421.421,0,0,1-.419-.419V125.392a.421.421,0,0,1,.419-.419h10.153V69.848a10.418,10.418,0,0,1,10.4-10.407H708.5A10.421,10.421,0,0,1,718.9,69.848V159.1A10.416,10.416,0,0,1,708.5,169.5Zm-93.784-.838H708.5a9.575,9.575,0,0,0,9.566-9.563V69.848a9.574,9.574,0,0,0-9.566-9.566H634.849a9.575,9.575,0,0,0-9.566,9.566v55.545a.421.421,0,0,1-.419.419H614.712Z"
                transform="translate(-613.873 -59.441)"
                fill="#626e79"
              />
            </g>
            <g id="组_6" data-name="组 6" transform="translate(0 65.016)">
              <path
                id="路径_17"
                data-name="路径 17"
                d="M623.364,128.621h-5.83a7.059,7.059,0,0,1-7.09-7.03V84.416h20.009v37.176A7.06,7.06,0,0,1,623.364,128.621Z"
                transform="translate(-610.026 -83.997)"
                fill="#ebf3ff"
              />
              <path
                id="路径_18"
                data-name="路径 18"
                d="M623.624,129.3h-5.83a7.488,7.488,0,0,1-7.509-7.451V84.675a.421.421,0,0,1,.419-.419h20.012a.42.42,0,0,1,.419.419v37.173A7.489,7.489,0,0,1,623.624,129.3Zm-12.5-44.205v36.754a6.649,6.649,0,0,0,6.671,6.613h5.83a6.651,6.651,0,0,0,6.673-6.613V85.094Z"
                transform="translate(-610.285 -84.256)"
                fill="#626e79"
              />
            </g>
            <g
              id="组_13"
              data-name="组 13"
              transform="translate(28.592 16.192)"
            >
              <g id="组_8" data-name="组 8" transform="translate(0 18.623)">
                <g id="组_7" data-name="组 7">
                  <path
                    id="路径_19"
                    data-name="路径 19"
                    d="M673.379,72.729H623.071A1.873,1.873,0,0,0,621.2,74.6h0a1.873,1.873,0,0,0,1.873,1.873h50.307a1.873,1.873,0,0,0,1.873-1.873h0A1.876,1.876,0,0,0,673.379,72.729Z"
                    transform="translate(-621.198 -72.729)"
                    fill="#bebebe"
                  />
                </g>
              </g>
              <g id="组_10" data-name="组 10" transform="translate(0 9.312)">
                <g id="组_9" data-name="组 9">
                  <path
                    id="路径_20"
                    data-name="路径 20"
                    d="M673.379,69.175H623.071a1.873,1.873,0,0,0-1.873,1.873h0a1.873,1.873,0,0,0,1.873,1.873h50.307a1.873,1.873,0,0,0,1.873-1.873h0A1.876,1.876,0,0,0,673.379,69.175Z"
                    transform="translate(-621.198 -69.175)"
                    fill="#bebebe"
                  />
                </g>
              </g>
              <g id="组_12" data-name="组 12">
                <g id="组_11" data-name="组 11">
                  <path
                    id="路径_21"
                    data-name="路径 21"
                    d="M650.891,65.621H623.071a1.873,1.873,0,0,0-1.873,1.873h0a1.872,1.872,0,0,0,1.873,1.871h27.819a1.872,1.872,0,0,0,1.873-1.871h0A1.873,1.873,0,0,0,650.891,65.621Z"
                    transform="translate(-621.198 -65.621)"
                    fill="#bebebe"
                  />
                </g>
              </g>
            </g>
            <g
              id="组_14"
              data-name="组 14"
              transform="translate(60.608 50.742)"
            >
              <path
                id="路径_22"
                data-name="路径 22"
                d="M669.428,86.5a20.144,20.144,0,1,0-7.1,30.825,4.872,4.872,0,0,0,.333.477l7.407,9.319a4.728,4.728,0,0,0,6.644.728h0a4.731,4.731,0,0,0,.728-6.647l-7.407-9.317a5.229,5.229,0,0,0-.393-.432A20.151,20.151,0,0,0,669.428,86.5Zm-6.094,24.584A15.352,15.352,0,1,1,665.692,89.5,15.353,15.353,0,0,1,663.334,111.084Z"
                transform="translate(-633.158 -78.548)"
                fill="#fff"
              />
              <path
                id="路径_23"
                data-name="路径 23"
                d="M674.024,129.566a5.14,5.14,0,0,1-4.016-1.92l-7.409-9.322c-.052-.068-.108-.136-.155-.2A20.566,20.566,0,1,1,670.018,86.5h0a20.493,20.493,0,0,1,.435,25.186c.06.065.113.128.17.2l7.409,9.325a5.141,5.141,0,0,1-4.009,8.363Zm-11.431-12.4a.417.417,0,0,1,.354.2,4.38,4.38,0,0,0,.307.435l7.409,9.322a4.307,4.307,0,0,0,6.715-5.395l-7.407-9.322a4.624,4.624,0,0,0-.359-.39.414.414,0,0,1-.037-.555,19.667,19.667,0,0,0-.212-24.437h0a19.724,19.724,0,1,0-6.951,30.185A.4.4,0,0,1,662.593,117.166Zm-8.6-2.028a15.765,15.765,0,1,1,9.859-3.466A15.762,15.762,0,0,1,654,115.138Zm-.026-30.691a14.926,14.926,0,1,0,11.656,5.578A14.848,14.848,0,0,0,653.971,84.447Z"
                transform="translate(-633.417 -78.808)"
                fill="#626e79"
              />
            </g>
            <g id="组_15" data-name="组 15" transform="translate(59.14 51.162)">
              <path
                id="路径_24"
                data-name="路径 24"
                d="M669.1,86.584a20.364,20.364,0,1,0-7.174,31.16,4.974,4.974,0,0,0,.338.482l7.488,9.422a4.778,4.778,0,0,0,6.718.736h0a4.781,4.781,0,0,0,.734-6.718l-7.488-9.422a5.246,5.246,0,0,0-.4-.435A20.368,20.368,0,0,0,669.1,86.584Zm-6.162,24.851a15.52,15.52,0,1,1,2.384-21.82A15.519,15.519,0,0,1,662.938,111.435Z"
                transform="translate(-632.857 -78.968)"
                fill="#1989fa"
              />
            </g>
          </g>
          <g
            id="组_23"
            data-name="组 23"
            transform="translate(134.899 145.126)"
          >
            <g id="组_18" data-name="组 18">
              <g id="组_17" data-name="组 17">
                <rect
                  id="矩形_3"
                  data-name="矩形 3"
                  width="3.58"
                  height="3.58"
                  fill="#ff1313"
                />
              </g>
            </g>
            <g id="组_20" data-name="组 20" transform="translate(7.235)">
              <g id="组_19" data-name="组 19">
                <rect
                  id="矩形_4"
                  data-name="矩形 4"
                  width="3.58"
                  height="3.58"
                  fill="#ff1313"
                />
              </g>
            </g>
            <g id="组_22" data-name="组 22" transform="translate(14.47)">
              <g id="组_21" data-name="组 21">
                <rect
                  id="矩形_5"
                  data-name="矩形 5"
                  width="3.58"
                  height="3.58"
                  fill="#ff1313"
                />
              </g>
            </g>
          </g>
          <g id="组_28" data-name="组 28" transform="translate(0 31.574)">
            <g id="组_25" data-name="组 25" transform="translate(0 91.668)">
              <g id="路径-18" transform="translate(0 14.676)">
                <path
                  id="路径_25"
                  data-name="路径 25"
                  d="M604.7,88.41q-1.553-6.96-9.757-4.582c-2.947.956-5.741,3.393-8.775,1.968Q598.106,97.475,604.7,88.41Z"
                  transform="translate(-586.171 -83.222)"
                  fill="#1989fa"
                />
              </g>
              <g id="组_24" data-name="组 24" transform="translate(8.523)">
                <g id="路径-17" transform="translate(19.283)">
                  <path
                    id="路径_26"
                    data-name="路径 26"
                    d="M597.219,96.077a.435.435,0,1,1,0-.87c11.14-.024,19.244-5.851,24.086-17.321a.443.443,0,0,1,.571-.233.438.438,0,0,1,.233.571c-4.994,11.822-13.367,17.829-24.89,17.853Z"
                    transform="translate(-596.784 -77.621)"
                    fill="#626e79"
                  />
                </g>
                <g id="路径-19" transform="translate(0 18.778)">
                  <path
                    id="路径_27"
                    data-name="路径 27"
                    d="M599.645,86.756a57.609,57.609,0,0,1-9.864-1.108.43.43,0,0,1-.348-.5.44.44,0,0,1,.5-.351c7.889,1.428,12.778,1.467,14.533.11a.434.434,0,0,1,.532.686C603.994,86.368,602.22,86.756,599.645,86.756Z"
                    transform="translate(-589.424 -84.788)"
                    fill="#626e79"
                  />
                </g>
              </g>
            </g>
            <g id="组_27" data-name="组 27" transform="translate(170.532)">
              <g id="组_26" data-name="组 26" transform="translate(0 55.832)">
                <g id="路径-15" transform="translate(0 4.028)">
                  <path
                    id="路径_28"
                    data-name="路径 28"
                    d="M666.833,66.328q-11.712-4.775-15.574,17.334Q671.409,77.638,666.833,66.328Z"
                    transform="translate(-651.259 -65.48)"
                    fill="#1989fa"
                  />
                </g>
                <g id="路径-16" transform="translate(7.161)">
                  <path
                    id="路径_29"
                    data-name="路径 29"
                    d="M654.411,77.481a.4.4,0,0,1-.181-.039.421.421,0,0,1-.2-.561c1.85-3.851,5.864-8.174,11.926-12.851a.42.42,0,0,1,.513.666c-5.96,4.6-9.893,8.819-11.683,12.55A.424.424,0,0,1,654.411,77.481Z"
                    transform="translate(-653.992 -63.943)"
                    fill="#626e79"
                  />
                </g>
              </g>
              <g id="路径-2-2" data-name="路径-2" transform="translate(34.792)">
                <path
                  id="路径_30"
                  data-name="路径 30"
                  d="M664.957,89.107a.419.419,0,0,1,0-.838c5.347,0,15.846-6.306,19.49-10.842a14.179,14.179,0,0,0,1.624-2.856,10.917,10.917,0,0,1-4.619-.671,6.627,6.627,0,0,1-4.166-4.079c-.587-2.274-.178-5.468,1.711-6.948,1.019-.8,2.879-1.412,5.974.246a6.394,6.394,0,0,1,2.982,4.454,12.407,12.407,0,0,1-.616,6.008A13.883,13.883,0,0,0,692,71.846c7.48-3.33,16.223-13.084,26.025-29.014a.42.42,0,1,1,.715.44c-9.893,16.077-18.762,25.938-26.355,29.318a14.454,14.454,0,0,1-5.382,1.889,15.126,15.126,0,0,1-1.9,3.461C681.642,82.255,671.02,89.107,664.957,89.107Zm16.47-26.2a3,3,0,0,0-1.91.621c-1.551,1.216-1.944,4.037-1.423,6.06a5.8,5.8,0,0,0,3.66,3.529,10.312,10.312,0,0,0,4.659.584,11.785,11.785,0,0,0,.718-5.976,5.591,5.591,0,0,0-2.578-3.883A6.8,6.8,0,0,0,681.427,62.909Z"
                  transform="translate(-664.538 -42.633)"
                  fill="#626e79"
                />
              </g>
            </g>
          </g>
        </g>
      </g>
    </svg>
  );
}

const Unpublished = () => {
  return (
    <div
      style={{
        width: '100%',
        height: '100%',
        display: 'flex',
        justifyContent: 'center',
        alignItems: 'center',
      }}
    >
      <Result
        icon={<Icon component={UnpublishedIcon} />}
        title={
          <span style={{ fontSize: 14, color: '#707070', lineHeight: '19px' }}>
            抱歉，当前应用还未发布，暂时无法预览。
          </span>
        }
        style={{ paddingTop: 0 }}
      />
    </div>
  );
}

export default Unpublished;
